{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "\u001b[33;01m➡ models: Avulsion, Plume, Sedflux3D, Subside, FrostNumber, Ku, Hydrotrend, Cem, Waves, ExponentialWeatherer, Flexure, FlowAccumulator, FlowDirectorD8, FlowDirectorDINF, FlowDirectorSteepest, LinearDiffuser, OverlandFlow, SoilMoisture, StreamPowerEroder, TransportLengthHillslopeDiffuser, Vegetation\u001b[39;49;00m\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "time = 0\n",
      "time = 100\n",
      "time = 200\n",
      "time = 300\n",
      "time = 400\n",
      "time = 500\n",
      "time = 600\n",
      "time = 700\n",
      "time = 800\n",
      "time = 900\n",
      "time = 1000\n",
      "time = 1100\n",
      "time = 1200\n",
      "time = 1300\n",
      "time = 1400\n"
     ]
    }
   ],
   "source": [
    "import numpy as np\n",
    "import pymt.models\n",
    "\n",
    "waves = pymt.models.Waves()\n",
    "args = waves.setup()\n",
    "waves.initialize(*args)\n",
    "\n",
    "cem = pymt.models.Cem()\n",
    "args = cem.setup(number_of_rows=100, number_of_cols=200, grid_spacing=200.)\n",
    "cem.initialize(*args)\n",
    "\n",
    "hydrotrend = pymt.models.Hydrotrend()\n",
    "args = hydrotrend.setup(run_duration=100)\n",
    "hydrotrend.initialize(*args)\n",
    "\n",
    "qs = np.zeros(cem.grid_shape(2), dtype=float)\n",
    "qs[0, 100] = 750\n",
    "qs_save = []\n",
    "\n",
    "for time in range(3000):\n",
    "    waves.set_value('sea_shoreline_wave~incoming~deepwater__ashton_et_al_approach_angle_asymmetry_parameter', .3)\n",
    "    waves.set_value('sea_shoreline_wave~incoming~deepwater__ashton_et_al_approach_angle_highness_parameter', .7)\n",
    "\n",
    "    waves.update()\n",
    "    angle = waves.get_value(\"sea_surface_water_wave__azimuth_angle_of_opposite_of_phase_velocity\")\n",
    "    \n",
    "    cem.set_value(\"sea_surface_water_wave__height\", 2.0)\n",
    "    cem.set_value(\"sea_surface_water_wave__period\", 7.0)\n",
    "    cem.set_value(\n",
    "        \"sea_surface_water_wave__azimuth_angle_of_opposite_of_phase_velocity\",\n",
    "        angle,\n",
    "    )\n",
    "\n",
    "    hydrotrend.update()\n",
    "    qs[0, 100] = hydrotrend.get_value(\"channel_exit_water_sediment~suspended__mass_flow_rate\")\n",
    "    \n",
    "    qs_save.append(qs[0, 100])\n",
    "    \n",
    "    cem.set_value('land_surface_water_sediment~bedload__mass_flow_rate', qs)\n",
    "    cem.update_until(time)\n",
    "    \n",
    "    if time % 100 == 0:\n",
    "        print(\"time = {0}\".format(time))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "def plot_coast(spacing, z):\n",
    "    import matplotlib.pyplot as plt\n",
    "\n",
    "    xmin, xmax = 0., z.shape[1] * spacing[0] * 1e-3\n",
    "    ymin, ymax = 0., z.shape[0] * spacing[1] * 1e-3\n",
    "\n",
    "    plt.imshow(z, extent=[xmin, xmax, ymin, ymax], origin=\"lower\", cmap=\"ocean\")\n",
    "    plt.colorbar().ax.set_ylabel(\"Water Depth (m)\")\n",
    "    plt.xlabel(\"Along shore (km)\")\n",
    "    plt.ylabel(\"Cross shore (km)\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXkAAADnCAYAAAD7GCa6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAfnUlEQVR4nO3de7gcVZ3u8e+bAIKACgYQBY0iiIhy9Rqd4XYcxlHBUZxBhoPKGbzgUccr+ni/oo+ijhckCBIVdXAUAVEUEWS8gYkgAUHxggrkECO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Rze9v3ayg+Z7O9/i62j5V0NvA04EeSDphDm7eUX+cBN5VlcWdzK0WPvd2Pgb0kbWm7ffGUVjxrO2Jby93/rzYu24xJlJ58TKnnAJ+x/RDbC21vD/yGoufe7kLK8eZymObBwM9nafdi4O8lbSFpA+DZ3V4kaQfby22/j2K4Y72x8zZXAQslPbx8fjjw3c4XlTXffyPpkPIYkrRbl/auBB7ese0cioJXZ7ddH6hqJ8ZbsTQGlQuvMcUOpaiZ3+7LwPM6tn0CmC9pOcWwyPNt384MbF8HvIdiJaVvUwzj/LnLS18p6XJJP6XoBX9jljZvA15AMQyznKIX/ckZXn4YcGTZ7hV0X0ryQmCP1kXdtuN8iaI2+pkqyupWtS9wdh+vjyaZkimUqUIZtZG0me2/lj350ynKR3f+QhkrSR8BzrL97SG0dSFwkO0/zT2yqJO2nm/+ZdPeL/zYzT2rUEo6EPgIxdDnp2wfO5QgK0pPPur0tvLC5+UUQ0BfHXM83bwHuPdcG5G0FXBcEvyEGtJwTXmPxscplg7dhWLtgV1GG/y6cuE1amP7NeOOoRfbNzCEFcjKmTZN/CUWVQ1nOOZxwC9t/xpA0hcphgp/NozGq0iSj4joptqF1QXl/Roti20vbnv+IOD3bc+vBR4/hOgqS5KPiOhU/cLqqh5j8t2m+dZ6ITRJPiKim+FMkbwW2L7t+XYUd23XJkk+IqLT8BYN+TGwo6SHAtdR1ILqnI48UknyERHdDOHCq+3Vkl4GfJNiCuXJtq+Yc8N9SJKPiFjP8O5otf114OtDaWwASfIREd1MyB2tvSTJR0R0at0MNQWS5CMiupmQRUF6Se2aiIgO5fq8Cyq8dJXtA0cdz1wkyUdETLEUKIuImGJJ8hERUyxJPiJiiiXJR0RMsST5iIgp9v8BbszGTH0REiMAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 2 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "z = cem.get_value('sea_water__depth').reshape(cem.grid_shape(2))\n",
    "plot_coast(cem.grid_spacing(2), z)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[0.002789636475236596,\n",
       " 0.0082716148760771085,\n",
       " 2061.5453030721555,\n",
       " 69.692963494932513,\n",
       " 5.5679804817186733,\n",
       " 9.8369364792671448,\n",
       " 24.028156721061226,\n",
       " 3.1800271236105528,\n",
       " 1.0028329687279884,\n",
       " 2.1718279461684493,\n",
       " 6.5900504293048243,\n",
       " 0.97279630589925159,\n",
       " 0.68295731117177105,\n",
       " 1.5856475832823027,\n",
       " 0.59192739542400297,\n",
       " 1.2027394830568687,\n",
       " 0.14013028154094181,\n",
       " 0.28735249440422383,\n",
       " 2.1090236516467895,\n",
       " 0.15878462552569153,\n",
       " 0.089549159499981934,\n",
       " 0.16030114941476892,\n",
       " 0.21543932335009572,\n",
       " 0.24586112155091458,\n",
       " 0.18919824660376355,\n",
       " 0.16691717959868707,\n",
       " 0.08182568847750378,\n",
       " 0.23603450288690656,\n",
       " 0.37395845427459679,\n",
       " 0.071190935246522327,\n",
       " 0.11201040483060556,\n",
       " 736.34254093119796,\n",
       " 239.27457907612407,\n",
       " 6.3969351234890706,\n",
       " 3.4706340328160286,\n",
       " 9.0396204806585558,\n",
       " 18.851034313625942,\n",
       " 3.3426192641265944,\n",
       " 4.7108833280407216,\n",
       " 7.9035238358971442,\n",
       " 5.5109832665122394,\n",
       " 0.30710518336535059,\n",
       " 0.61872686874973626,\n",
       " 0.45878636691661756,\n",
       " 0.1432000278271508,\n",
       " 0.38483134013132347,\n",
       " 0.43223040768334797,\n",
       " 0.081722761646173245,\n",
       " 0.28225381142125505,\n",
       " 0.24070200465195396,\n",
       " 0.085501026865737531,\n",
       " 0.17655740125841884,\n",
       " 0.29670980093696453,\n",
       " 0.16426413470036239,\n",
       " 0.07142779358418111,\n",
       " 0.033121018313935477,\n",
       " 0.10222502799442026,\n",
       " 0.03138218055968154,\n",
       " 0.13823401439641333,\n",
       " 0.2952740600580635,\n",
       " 0.11838232059293122,\n",
       " 0.016160104962500792,\n",
       " 0.079948349527419707,\n",
       " 0.086783017410444807,\n",
       " 0.023906235775582235,\n",
       " 0.074427074807476901,\n",
       " 0.032682118388732674,\n",
       " 0.014566201735157054,\n",
       " 0.0088676227757215013,\n",
       " 0.041941145375860536,\n",
       " 0.0062458558449178959,\n",
       " 0.059253852413059291,\n",
       " 0.038442650935449456,\n",
       " 0.019530340559793219,\n",
       " 0.0086414550528861375,\n",
       " 0.0038244990496172485,\n",
       " 0.015438310752799162,\n",
       " 0.014339254727865699,\n",
       " 0.01412226897839885,\n",
       " 0.027945501259507514,\n",
       " 0.042947689884027362,\n",
       " 82.774833621154343,\n",
       " 50.073380033615884,\n",
       " 51.259942965337821,\n",
       " 17.65737769261623,\n",
       " 28.325318527552515,\n",
       " 4.6640426165036883,\n",
       " 2.5796616595477175,\n",
       " 180.1188668147191,\n",
       " 14.762386336469534,\n",
       " 6.1843196120742361,\n",
       " 8.557363956478504,\n",
       " 7.6111466475789369,\n",
       " 5.2072785105475532,\n",
       " 3.3546175965364684,\n",
       " 2.5479975140147082,\n",
       " 0.26018121340214451,\n",
       " 3.5589141713933321,\n",
       " 1.9304158789140624,\n",
       " 3.2213843963360809,\n",
       " 11.413173024427959,\n",
       " 2521.0638358525152,\n",
       " 54.367331945343565,\n",
       " 43.404043198573866,\n",
       " 9.6292811337375017,\n",
       " 16.759321804399203,\n",
       " 9.1699809050401822,\n",
       " 4.0332496860683396,\n",
       " 59.23911333172795,\n",
       " 2.6692991829770292,\n",
       " 8.1880021592098888,\n",
       " 6.0536094404164507,\n",
       " 2.2889172277351073,\n",
       " 1.8042571949710893,\n",
       " 3.2657230470143048,\n",
       " 11.553835854535663,\n",
       " 3.272336775759277,\n",
       " 65.523655266138917,\n",
       " 6.5140123181065137,\n",
       " 76.001072602296119,\n",
       " 12.067812235734976,\n",
       " 3.352028838639868,\n",
       " 6.9265433432735,\n",
       " 5.1085488031015691,\n",
       " 6.6124211691348354,\n",
       " 6.7149472741811973,\n",
       " 19.546521799250851,\n",
       " 10.511466161174694,\n",
       " 6.7905491508700839,\n",
       " 15.012701654509073,\n",
       " 6.0866446845575179,\n",
       " 9.6102833795033984,\n",
       " 1.7528230101567992,\n",
       " 1.0856198193936075,\n",
       " 1.4055517383172127,\n",
       " 312.56035581076372,\n",
       " 8.7206618652310013,\n",
       " 5.8884282820273928,\n",
       " 12.973426445005297,\n",
       " 5.6962491848148424,\n",
       " 2.9055885423056824,\n",
       " 3.651619496046008,\n",
       " 5.2630161144903642,\n",
       " 5.5787239174837682,\n",
       " 2.1366093185843091,\n",
       " 0.56205566925437456,\n",
       " 0.38181249793677163,\n",
       " 4.9649993525385625,\n",
       " 0.4515579737727316,\n",
       " 0.44299658287932514,\n",
       " 0.26405374820145183,\n",
       " 0.52967715189276521,\n",
       " 0.65285615575917921,\n",
       " 0.099037556992691941,\n",
       " 0.27968699316654838,\n",
       " 0.13940832709503004,\n",
       " 0.15393693887348939,\n",
       " 0.085557839850704892,\n",
       " 0.071435783848682669,\n",
       " 0.48366754538010154,\n",
       " 0.047494370160390979,\n",
       " 0.34934021714509877,\n",
       " 5.5782233952026239,\n",
       " 24.9977492638535,\n",
       " 9.3966855685703301,\n",
       " 6.221949456806823,\n",
       " 11.999332308419628,\n",
       " 6.7059016750950571,\n",
       " 4.9859224974261185,\n",
       " 2.1033129739041576,\n",
       " 5.9508488681381566,\n",
       " 2.7348595694111943,\n",
       " 0.49733267013126831,\n",
       " 1.2112128862779814,\n",
       " 1.4761181519981086,\n",
       " 0.36710513327222544,\n",
       " 0.57666513153149412,\n",
       " 0.64980316750505873,\n",
       " 2454.7818696630266,\n",
       " 26.396563048441866,\n",
       " 28.887422455894846,\n",
       " 12.339407006029374,\n",
       " 4.7379275089043036,\n",
       " 6.6757844432774105,\n",
       " 5.4771835812520733,\n",
       " 7.3756771496905289,\n",
       " 1.0035749417028266,\n",
       " 1.6495081389009636,\n",
       " 0.76840449718999826,\n",
       " 3.8829299174474605,\n",
       " 0.57963204451685857,\n",
       " 0.74221644775915763,\n",
       " 0.75964325070307881,\n",
       " 0.87889151536711718,\n",
       " 0.91441117226399371,\n",
       " 1.139138262528353,\n",
       " 1.8004058265048064,\n",
       " 0.48189330383509371,\n",
       " 1.0764792094144739,\n",
       " 718.77548047876189,\n",
       " 658.13666009443943,\n",
       " 300.83342355891494,\n",
       " 10.969388545663914,\n",
       " 53.988655671012737,\n",
       " 57.623457322441418,\n",
       " 37.156799863022009,\n",
       " 12.613325789107236,\n",
       " 43.150815615675356,\n",
       " 11.826568908355069,\n",
       " 33.716569546177922,\n",
       " 22.159483955550066,\n",
       " 17.542113491185056,\n",
       " 64.620876167152701,\n",
       " 7.3501404080574249,\n",
       " 14.990966383449178,\n",
       " 1.3860330935973946,\n",
       " 0.60299848045795368,\n",
       " 1.7616044681413798,\n",
       " 847.86058335096868,\n",
       " 13.759672724101268,\n",
       " 48.185319017264248,\n",
       " 15.597080921596739,\n",
       " 20.806389286407903,\n",
       " 18.03644389691976,\n",
       " 10.169318914032406,\n",
       " 21.921858924192811,\n",
       " 6.3954717203181337,\n",
       " 3.5432442331048417,\n",
       " 20.60362850280255,\n",
       " 1.5616132611000033,\n",
       " 0.93920044405031045,\n",
       " 8.8561447903017427,\n",
       " 4.6441748191882803,\n",
       " 3.4524195772786932,\n",
       " 2.1851664217075997,\n",
       " 7.5275642621183234,\n",
       " 2.9311778190078956,\n",
       " 1.7094807642287078,\n",
       " 13.308188217700494,\n",
       " 18.255891885264294,\n",
       " 3.726954478403981,\n",
       " 16.55553312716615,\n",
       " 7.0884198523702073,\n",
       " 26.660846931951468,\n",
       " 2.5480109185255362,\n",
       " 3.7157908087630553,\n",
       " 1.9648358636356158,\n",
       " 1.4764246263862804,\n",
       " 3.7493739270289907,\n",
       " 1.0911979693820275,\n",
       " 4.3681777975654796,\n",
       " 0.54663941138050398,\n",
       " 1.9542102348109289,\n",
       " 2.179490811786637,\n",
       " 1.0854548787138407,\n",
       " 0.21835450749723032,\n",
       " 0.40428495192529768,\n",
       " 0.48738834268980402,\n",
       " 0.45211821255689411,\n",
       " 0.275932244240364,\n",
       " 0.3016311102444188,\n",
       " 0.90823387875967887,\n",
       " 0.13619237401502318,\n",
       " 3.5266524231562255,\n",
       " 1506.8280781105989,\n",
       " 107.6883893023787,\n",
       " 46.289952167215851,\n",
       " 28.690524779748326,\n",
       " 31.479829248660547,\n",
       " 5.7186680425978604,\n",
       " 1.7678584750611481,\n",
       " 8.7152912574151014,\n",
       " 1.2499849056184673,\n",
       " 25.852072384168363,\n",
       " 2.4761783726207827,\n",
       " 1.4386966079136581,\n",
       " 15.550412449128924,\n",
       " 11.520809773687372,\n",
       " 54.985637662501269,\n",
       " 18.309231305418326,\n",
       " 7.0873801322025667,\n",
       " 15.296487393188418,\n",
       " 15.451814307882017,\n",
       " 7.9171407589133738,\n",
       " 9.0276067236235544,\n",
       " 1.2999032689219414,\n",
       " 2.5751665673641515,\n",
       " 2.1635289511165192,\n",
       " 8.7789545807025142,\n",
       " 4.0174490328018786,\n",
       " 6.8015687016179145,\n",
       " 3.0627224376556743,\n",
       " 2.800525943717016,\n",
       " 2.6623988879488434,\n",
       " 13.984293136840789,\n",
       " 4.7522114792937611,\n",
       " 5.8223441103447602,\n",
       " 6.7726638171415479,\n",
       " 9.1477098945529907,\n",
       " 0.67465510146324636,\n",
       " 0.51608962162209304,\n",
       " 1.2909633404086538,\n",
       " 68.223086140592656,\n",
       " 2.9540559265511699,\n",
       " 2.8846952707651377,\n",
       " 1.1548735953385132,\n",
       " 4.5589090710063749,\n",
       " 2.7388528824491538,\n",
       " 2.7320250812536524,\n",
       " 5.136980983030468,\n",
       " 14.55441753099201,\n",
       " 2.7536195289964365,\n",
       " 2.6055914396235824,\n",
       " 3.3686414835597938,\n",
       " 0.37977707474321054,\n",
       " 0.77400483457513514,\n",
       " 0.70222092254625723,\n",
       " 16.923241522030125,\n",
       " 0.8703625247046094,\n",
       " 34.800670905714242,\n",
       " 10.748366884124296,\n",
       " 9.2732023224499454,\n",
       " 6.039913187086829,\n",
       " 9.9677208209644732,\n",
       " 10.842343487317288,\n",
       " 175.66448184398178,\n",
       " 72.376535410452561,\n",
       " 27.85937393218342,\n",
       " 12.222514050878768,\n",
       " 4.4335050809506349,\n",
       " 1.443475807103423,\n",
       " 1.7459369656437822,\n",
       " 1.4009354517748533,\n",
       " 5.1862874704797033,\n",
       " 5.4857511072551297,\n",
       " 2.1133511917325181,\n",
       " 1.8861989165878978,\n",
       " 1.0753645019489395,\n",
       " 0.45347425217994042,\n",
       " 1.1035690571173762,\n",
       " 0.20279407951348877,\n",
       " 2.2998482994609835,\n",
       " 0.27183667157212532,\n",
       " 0.41775626710770414,\n",
       " 0.049497069918633098,\n",
       " 0.18873029662340013,\n",
       " 0.10650466517045734,\n",
       " 0.3524911822996819,\n",
       " 0.051358891965582597,\n",
       " 0.038349975279293902,\n",
       " 0.042764497183663076,\n",
       " 0.33966723551582684,\n",
       " 0.10332686927108405,\n",
       " 0.055486517739106296,\n",
       " 2.0286807979537671,\n",
       " 1508.697952990145,\n",
       " 109.5338729683692,\n",
       " 12.0238261771218,\n",
       " 32.214627765202081,\n",
       " 21.560295091210403,\n",
       " 17.037906107768986,\n",
       " 3.265446195073709,\n",
       " 7.9369567240660741,\n",
       " 3.157120000012049,\n",
       " 9.6763651901440362,\n",
       " 7.7421284297192736,\n",
       " 11.114834403235799,\n",
       " 1.887671579779918,\n",
       " 1.238590005542562,\n",
       " 6.5014980054185729,\n",
       " 6.7019572211135836,\n",
       " 2.4852086740539341,\n",
       " 1.6437322859223273,\n",
       " 0.48641259230258194,\n",
       " 1.3977538879140639,\n",
       " 0.95461672157506283,\n",
       " 0.83935748156293855,\n",
       " 282.20033570970241,\n",
       " 41.6476809245653,\n",
       " 10.394554319542952,\n",
       " 9.1412068093949284,\n",
       " 11.11810896891985,\n",
       " 33.236603081781183,\n",
       " 3.3752093808358441,\n",
       " 3.7529819354894349,\n",
       " 2.5983881144780638,\n",
       " 1.4896515427357837,\n",
       " 3.4290211146476879,\n",
       " 8.6974663613840644,\n",
       " 1.2382989545178573,\n",
       " 2.3824049846865187,\n",
       " 1.4897859868437453,\n",
       " 1.2378111621835124,\n",
       " 0.3853345823493165,\n",
       " 0.31965462447617055,\n",
       " 1.5950240435976668,\n",
       " 1.2274519968563391,\n",
       " 0.93733839111406203,\n",
       " 0.60373658135570551,\n",
       " 0.16377647910477119,\n",
       " 0.48131552629104268,\n",
       " 1.4641643919708229,\n",
       " 0.25429169108688626,\n",
       " 0.23682008331197008,\n",
       " 0.19669397363501567,\n",
       " 0.3623376052636299,\n",
       " 0.24096339759323246,\n",
       " 0.049491525353001178,\n",
       " 0.23690199035872883,\n",
       " 0.18320688503940388,\n",
       " 0.10824743308595516,\n",
       " 0.19585993304959692,\n",
       " 0.58914312307853944,\n",
       " 0.16811734470880965,\n",
       " 0.17042833150894318,\n",
       " 0.17395285693206664,\n",
       " 0.30788339443010188,\n",
       " 0.08969909062055996,\n",
       " 0.27657148467527914,\n",
       " 0.12335075555175334,\n",
       " 0.26649647710707608,\n",
       " 67.947466019239286,\n",
       " 39.258256150854031,\n",
       " 50.618006797419945,\n",
       " 14.94134881264414,\n",
       " 4.5976886952194027,\n",
       " 4.4090114133077485,\n",
       " 10.926445745391076,\n",
       " 6.4328981155220593,\n",
       " 74.123501032282519,\n",
       " 15.956975537737167,\n",
       " 7.5004545456514666,\n",
       " 14.434721827005532,\n",
       " 26.49233318211795,\n",
       " 16.881760738743719,\n",
       " 9.4124507232979866,\n",
       " 6.9120987082469849,\n",
       " 43.623668183393811,\n",
       " 115.4623591981281,\n",
       " 4.5266419711917871,\n",
       " 17.1656355714039,\n",
       " 15.152190357675128,\n",
       " 21.674610619399157,\n",
       " 13.00900810873245,\n",
       " 3.3897417321573347,\n",
       " 40.20886545939603,\n",
       " 2.3490845807547327,\n",
       " 2.372339417243293,\n",
       " 7.6133357607191083,\n",
       " 11.279497301059722,\n",
       " 2.2984134965362304,\n",
       " 2.528799059613803,\n",
       " 3.313260308565277,\n",
       " 7.0122182966330389,\n",
       " 1.1142475231848825,\n",
       " 4.3368923969094393,\n",
       " 158.37660287580229,\n",
       " 41.178551124017098,\n",
       " 16.317760202327271,\n",
       " 4.3410106571010472,\n",
       " 26.030988726762981,\n",
       " 3.0431579329743887,\n",
       " 10.65241828332103,\n",
       " 12.216616956610554,\n",
       " 8.6160389770223098,\n",
       " 10.813387903645719,\n",
       " 7.2573397947714318,\n",
       " 1.7896402519049013,\n",
       " 2.4536598665990801,\n",
       " 1.7321791476564687,\n",
       " 2.9416762796849882,\n",
       " 16.307873872947457,\n",
       " 1.9114802403203048,\n",
       " 2.2074000447909872,\n",
       " 1.4769524768348594,\n",
       " 10.59684259039885,\n",
       " 3.8005429533801314,\n",
       " 2.7605750233567194,\n",
       " 2.6615040569409203,\n",
       " 2.2614817989192195,\n",
       " 2.5150403284242553,\n",
       " 1.126160262380437,\n",
       " 2.3263397293011199,\n",
       " 34.834614438139496,\n",
       " 16.329195644686347,\n",
       " 3.1862447804276983,\n",
       " 7.0945993048299654,\n",
       " 8.6256038209367212,\n",
       " 9.2121722852514001,\n",
       " 1504.4826746247679,\n",
       " 55.52248164196255,\n",
       " 82.101251520969768,\n",
       " 21.182235540856958,\n",
       " 17.80465351765881,\n",
       " 9.1070714462835056,\n",
       " 5.4029523557845289,\n",
       " 2.7656321191442457,\n",
       " 7.0619619771647573,\n",
       " 3.7010558116644248,\n",
       " 4.0083074098873901,\n",
       " 2.0468196930457574,\n",
       " 3.1707235923860067,\n",
       " 1.1776066853333265,\n",
       " 0.70707208940715149,\n",
       " 0.58659477411818084,\n",
       " 1.8370042168770961,\n",
       " 1.3433680975008337,\n",
       " 0.46466577945958942,\n",
       " 2.349757899485208,\n",
       " 0.55268805855859149,\n",
       " 0.92270712980348513,\n",
       " 0.57972508712256099,\n",
       " 1.2754152431333203,\n",
       " 0.52010706969847242,\n",
       " 0.21897605561037381,\n",
       " 0.073669011645183122,\n",
       " 0.69341324700790075,\n",
       " 0.43703836238266008,\n",
       " 0.59060098977405528,\n",
       " 0.10004005920415068,\n",
       " 0.17478345891014993,\n",
       " 0.32633199871652335,\n",
       " 0.30926436064735358,\n",
       " 0.47823262280618634,\n",
       " 0.1866858161887027,\n",
       " 0.23580479946746233,\n",
       " 0.088359759398009274,\n",
       " 0.19957184870512967,\n",
       " 0.08816995767269481,\n",
       " 0.050398487427938093,\n",
       " 0.2012643271682838,\n",
       " 0.076752208010090223,\n",
       " 0.3828223678273559,\n",
       " 0.076619491992714298,\n",
       " 0.12170731649706042,\n",
       " 0.25612033741397611,\n",
       " 0.082118216893908344,\n",
       " 0.10093209897502972,\n",
       " 0.21030505279447415,\n",
       " 0.06140357100990692,\n",
       " 0.043764751727327016,\n",
       " 0.37577564974313321,\n",
       " 0.16183382839783597,\n",
       " 28.56289286059873,\n",
       " 1123.6976571168673,\n",
       " 25.602059041213025,\n",
       " 16.413164394617656,\n",
       " 17.106881019180314,\n",
       " 39.979321357850857,\n",
       " 27.324859906447976,\n",
       " 12.390665789873889,\n",
       " 21.272100414864866,\n",
       " 20.037471402010784,\n",
       " 3.7239087986423209,\n",
       " 3.0777452691488807,\n",
       " 2.6019103521376552,\n",
       " 4.0761300634047837,\n",
       " 3.1941779169381443,\n",
       " 0.35264276396085753,\n",
       " 2.3620856344811698,\n",
       " 234.70851047072694,\n",
       " 32.430599041035215,\n",
       " 10.060253381640516,\n",
       " 12.14717976765985,\n",
       " 54.656011336093009,\n",
       " 41.019372087453668,\n",
       " 17.896428396772343,\n",
       " 8.2779453792826008,\n",
       " 9.4902906338312913,\n",
       " 3.7742751346264911,\n",
       " 2.4968101001967775,\n",
       " 4.6720592781677439,\n",
       " 1.9800091405250331,\n",
       " 1.2935738516970008,\n",
       " 5.5306351701543237,\n",
       " 468.28534921749957,\n",
       " 36.258535474409378,\n",
       " 32.504598783399615,\n",
       " 7.342808925981573,\n",
       " 21.516600021223635,\n",
       " 24.965951743888702,\n",
       " 6.5434873859102014,\n",
       " 4.3167795903827386,\n",
       " 5.3439608493988464,\n",
       " 21.138561996950081,\n",
       " 4.1276023725314186,\n",
       " 12.708148935459031,\n",
       " 6.1296293234499384,\n",
       " 5.6248911084191757,\n",
       " 21.449967391442115,\n",
       " 81.873703548620554,\n",
       " 25.712228361123781,\n",
       " 228.10080526447283,\n",
       " 37.240013337614776,\n",
       " 45.05859740349468,\n",
       " 16.923995275716578,\n",
       " 31.152981607283838,\n",
       " 5.6293355410978201,\n",
       " 11.635885962573251,\n",
       " 13.544837747001866,\n",
       " 41.862499404171373,\n",
       " 3.6213626109841321,\n",
       " 3.7873885618448457,\n",
       " 11.00058473321225,\n",
       " 2.6241602089204843,\n",
       " 2.838934636412711,\n",
       " 15.187239197218101,\n",
       " 2.2401783228647818,\n",
       " 3.0054162062050369,\n",
       " 1.9355487372294875,\n",
       " 2.4581184863344552,\n",
       " 1.7883014093351584,\n",
       " 0.44895675213443254,\n",
       " 1.4604248001394804,\n",
       " 2.3163766856759835,\n",
       " 0.34657063052285325,\n",
       " 1.2974182237946865,\n",
       " 0.4744000692744193,\n",
       " 0.20121441786243172,\n",
       " 0.40888537379542977,\n",
       " 0.62634317813552798,\n",
       " 31.714711886777877,\n",
       " 3.7174356421074735,\n",
       " 9.0312610775700382,\n",
       " 3.1810239936594495,\n",
       " 5.5678841368188179,\n",
       " 403.43140061066447,\n",
       " 87.426806138753847,\n",
       " 24.076121840712574,\n",
       " 13.268791535878062,\n",
       " 47.475909220603988,\n",
       " 7.8586363815152929,\n",
       " 11.788534557397567,\n",
       " 4.1269109783899633,\n",
       " 30.443147403574216,\n",
       " 12.58668617178491,\n",
       " 2.2208256417757126,\n",
       " 2.36456647125316,\n",
       " 15.150964523800369,\n",
       " 0.75869627475206192,\n",
       " 3.7485048455120453,\n",
       " 4.1927509209130456,\n",
       " 3.7310190322675427,\n",
       " 3.581273567279641,\n",
       " 5.998739594680421,\n",
       " 8.201202619577348,\n",
       " 4.676154710135612,\n",
       " 6.8221872258916907,\n",
       " 4.1295095363220584,\n",
       " 4.928102011763893,\n",
       " 3.8091259509798125,\n",
       " 1.0437067000496785,\n",
       " 11.450192867726587,\n",
       " 0.7835521906385019,\n",
       " 0.48403068766927648,\n",
       " 0.86063984264415661,\n",
       " 38.92063451615779,\n",
       " 83.273654272235163,\n",
       " 19.942254150753627,\n",
       " 11.751082404486029,\n",
       " 106.04421321994361,\n",
       " 2.3917064494671667,\n",
       " 13.432505201536294,\n",
       " 37.468971792037522,\n",
       " 14.045322200869737,\n",
       " 3.5711656236504368,\n",
       " 15.71890462406124,\n",
       " 21.244659982892561,\n",
       " 14.07144365465888,\n",
       " 22.966112324222514,\n",
       " 1.1973319116081729,\n",
       " 26.040327279744432,\n",
       " 1.348321111894202,\n",
       " 3.7083595273052827,\n",
       " 11.37454885284347,\n",
       " 9.036645402547963,\n",
       " 2.071380580621883,\n",
       " 2.61477550331526,\n",
       " 111.39649733381135,\n",
       " 41.853737854659791,\n",
       " 492.14297469880739,\n",
       " 30.525578125322749,\n",
       " 177.65718576222307,\n",
       " 4.9111449454750549,\n",
       " 15.601039969505289,\n",
       " 18.942585512142401,\n",
       " 10.210326678865512,\n",
       " 3.0463852955147548,\n",
       " 7.1943690725796818,\n",
       " 2.1085415072683613,\n",
       " 1.6926676422937059,\n",
       " 3.8510950514873841,\n",
       " 9.5255046984305451,\n",
       " 4.1686970162699035,\n",
       " 2.2204724667703162,\n",
       " 0.3962684837983575,\n",
       " 0.35268153388581402,\n",
       " 0.71205845271216384,\n",
       " 4.9665946207320095,\n",
       " 33.905600497248876,\n",
       " 21.962475684600872,\n",
       " 12.257863045049554,\n",
       " 13.612235819521553,\n",
       " 10.540395909106479,\n",
       " 12.095816326086586,\n",
       " 2.2443083684230078,\n",
       " 4.7332641198674539,\n",
       " 1.5513529126256191,\n",
       " 3.1655086842605944,\n",
       " 6.9762581078520585,\n",
       " 10.628620133670607,\n",
       " 4.4087480732833315,\n",
       " 177.9259669284435,\n",
       " 13.666373535892927,\n",
       " 7.3745969328794452,\n",
       " 10.635682580362655,\n",
       " 8.6052455067954146,\n",
       " 15.206407324120955,\n",
       " 6.0718635187907726,\n",
       " 10.315260062018844,\n",
       " 2.5296573163912073,\n",
       " 11.966566850408839,\n",
       " 5.2896559061849269,\n",
       " 17.733117362735562,\n",
       " 5.3422044496545258,\n",
       " 7.5452456579121039,\n",
       " 2.9671832375271969,\n",
       " 9.8039582529827776,\n",
       " 2.2864289867710874,\n",
       " 2.530383394011134,\n",
       " 0.87122873401701373,\n",
       " 0.59540174594430861,\n",
       " 0.47644197369144209,\n",
       " 0.36044102001583528,\n",
       " 1.1051926054409449,\n",
       " 1.2503206025514129,\n",
       " 793.37551408334616,\n",
       " 27.075145073933431,\n",
       " 6.3001061779767751,\n",
       " 15.213103354187901,\n",
       " 3.5084786229876208,\n",
       " 1.6689802854867397,\n",
       " 4.7219732949398328,\n",
       " 2.3200354517089425,\n",
       " 0.42633483291849933,\n",
       " 2.9941927124028389,\n",
       " 3.342917976337342,\n",
       " 1.4182471916224302,\n",
       " 1.7612602241532749,\n",
       " 1.0514834475630048,\n",
       " 1.5432638139173041,\n",
       " 1.9993538793339714,\n",
       " 0.49779882480254917,\n",
       " 0.53585224551956601,\n",
       " 16.090619179017601,\n",
       " 6.5143983858326528,\n",
       " 7.0923358046809328,\n",
       " 2.9783424448977938,\n",
       " 3.1039307383666839,\n",
       " 1.6045106821507136,\n",
       " 2.5784708087578969,\n",
       " 1.0866233945886601,\n",
       " 0.61542445069408291,\n",
       " 3.4647635271367738,\n",
       " 0.69294259196899077,\n",
       " 0.75670027555816233,\n",
       " 8.6549551295140041,\n",
       " 1.6297647943398343,\n",
       " 1.8730382215380417,\n",
       " 1.3476573196642618,\n",
       " 1.9601684528646084,\n",
       " 0.40176922758883044,\n",
       " 1.4074180870668667,\n",
       " 3.5196146751770985,\n",
       " 1.587891055178587,\n",
       " 0.37722688310610591,\n",
       " 1.0523130483440468,\n",
       " 0.55132586733065714,\n",
       " 0.087282622882003558,\n",
       " 0.33289464166320004,\n",
       " 0.52567535255080933,\n",
       " 0.18358349402553475,\n",
       " 0.12011551793094501,\n",
       " 0.20673947748818752,\n",
       " 0.21097556086894334,\n",
       " 0.21950185788822726,\n",
       " 101.60897246755394,\n",
       " 64.591467923952138,\n",
       " 28.611379001573191,\n",
       " 1456.1758773917627,\n",
       " 165.6295029544103,\n",
       " 51.021290756001854,\n",
       " 52.561607669431503,\n",
       " 28.25267166735286,\n",
       " 8.8690835700194821,\n",
       " 10.596055735945511,\n",
       " 8.9777568927165508,\n",
       " 7.5123256533810912,\n",
       " 1.4817063388266871,\n",
       " 8.3294010736438224,\n",
       " 13.609561313594211,\n",
       " 2.5713025919394781,\n",
       " 2.1065254532808977,\n",
       " 3.761211083083988,\n",
       " 1.5640244137371655,\n",
       " 2.9770140879542208,\n",
       " 0.42905302479654878,\n",
       " 0.55886624364179682,\n",
       " 2.1495484085113024,\n",
       " 0.28685004009797055,\n",
       " 0.6019766489770717,\n",
       " 0.22478638756087577,\n",
       " 0.30643748863585768,\n",
       " 0.1099585730674183,\n",
       " 0.37316394305500633,\n",
       " 0.28385785483978271,\n",
       " 0.28574817913175166,\n",
       " 0.32193540194535386,\n",
       " 0.083244716137986799,\n",
       " 0.13556876840912682,\n",
       " 0.31154824034046746,\n",
       " 1.1783982436097886,\n",
       " 0.44228194326455489,\n",
       " 206.80145868783598,\n",
       " 2.8802924451420515,\n",
       " 25.987891893113567,\n",
       " 6.1063612992869416,\n",
       " 20.396980771832379,\n",
       " 7.1238803738362586,\n",
       " 4.4481395028917392,\n",
       " 3.2360504819038418,\n",
       " 2.7237142073814211,\n",
       " 5.3234666341524592,\n",
       " 24.748524722796517,\n",
       " 17.638627337313448,\n",
       " 4.6307993795392379,\n",
       " 0.90966051277664661,\n",
       " 5.0063140696348629,\n",
       " 78.348091044662397,\n",
       " 6.8055986312027574,\n",
       " 7.8697037277281492,\n",
       " 9.5969127908991947,\n",
       " 2.5974505760194191,\n",
       " 19.800555404077958,\n",
       " 15.579922762747737,\n",
       " 11.807934328597732,\n",
       " 25.472517908866187,\n",
       " 3.1474540647274738,\n",
       " 5.3170600549003328,\n",
       " 2.944183551715216,\n",
       " 3.1383417688301569,\n",
       " 8.911024765123118,\n",
       " 0.76391120498742271,\n",
       " 2.0723824757727085,\n",
       " 2.9420976190961339,\n",
       " 1.3858284046687173,\n",
       " 1.6523928797206588,\n",
       " 1.4789908311253304,\n",
       " 1.4249119237947929,\n",
       " 2.3685666210429108,\n",
       " 0.60804219091687495,\n",
       " 423.36985940601505,\n",
       " 30.792501414300979,\n",
       " 18.108768790001413,\n",
       " 4.4496105005404933,\n",
       " 14.757672295025035,\n",
       " 104.74910598224882,\n",
       " 4.4333734982805639,\n",
       " 2.2313807098016873,\n",
       " 3.9034525360685866,\n",
       " 7.7117577651210523,\n",
       " 6.1938556811717156,\n",
       " 4.2520554317870332,\n",
       " 3.320979906957982,\n",
       " 0.54421532627677194,\n",
       " 1.8976358242377152,\n",
       " 1.5594876153221644,\n",
       " 2.1538563521252825,\n",
       " 0.7604070227438775,\n",
       " 0.73363873780822941,\n",
       " 0.21913332484550013,\n",
       " 891.15756876491446,\n",
       " 24.106129910195552,\n",
       " 40.549982251746016,\n",
       " 16.641952075341461,\n",
       " 41.22271913895807,\n",
       " 5.8035740618139275,\n",
       " 14.174418898652359,\n",
       " 11.738416251242464,\n",
       " 2.6172745317267014,\n",
       " 5.9978935577173216,\n",
       " 0.99116467374156292,\n",
       " 1.5916535945179819,\n",
       " 1.4418379081953687,\n",
       " 2.0971628761202985,\n",
       " 4.5806755052692463,\n",
       " 3.4650652941685549,\n",
       " 1.1301455963602338,\n",
       " 8.1914801473741843,\n",
       " 0.86028055579823315,\n",
       " 0.5310759373309778,\n",
       " 0.34612140418335874,\n",
       " 0.79901496739263989,\n",
       " 0.25288991597343147,\n",
       " 0.27589497048441114,\n",
       " 0.41207016024727572,\n",
       " 0.99396700069859534,\n",
       " 0.028782581589787807,\n",
       " 0.40115808853469181,\n",
       " 0.62023234760494994,\n",
       " 0.056774407236603569,\n",
       " 2.361008327584099,\n",
       " 12.438128356920537,\n",
       " 7.2227608186317092,\n",
       " 11.964806233104646,\n",
       " 4.2924424242507992,\n",
       " 5.0596525695310417,\n",
       " 5.4453602393851366,\n",
       " 2.9286365581159113,\n",
       " 423.50902658864288,\n",
       " 21.921462193880721,\n",
       " 113.7931607914916,\n",
       " 29.323322201845251,\n",
       " 66.648483247019044,\n",
       " 10.269018255497343,\n",
       " 18.66065870399666,\n",
       " 15.910596431059693,\n",
       " 23.229557861920124,\n",
       " 3.5914157722229341,\n",
       " 12.815105541912395,\n",
       " 127.6200334104672,\n",
       " 19.621608929637834,\n",
       " 2.9697097237454662,\n",
       " 18.337734990967085,\n",
       " 30.229399069395829,\n",
       " 6.1986973174024822,\n",
       " 8.4202421411346453,\n",
       " 10.893035277255745,\n",
       " 19.031671851874311,\n",
       " 9.2278852402523164,\n",
       " 3.2917412883106643,\n",
       " 8.0765095953023209,\n",
       " 43.204224867379672,\n",
       " 13.283740967101192,\n",
       " 417.98025083316935,\n",
       " 71.737027211951073,\n",
       " 5.8050067213390859,\n",
       " 24.741978287557671,\n",
       " 5.6271566194246097,\n",
       " 27.178181861038315,\n",
       " 67.945896937352103,\n",
       " 111.15987019621114,\n",
       " 5.4454895505888183,\n",
       " 10.988111810094345,\n",
       " 10.473053574263009,\n",
       " 4.9013029610019574,\n",
       " 4.0171820792294666,\n",
       " 8.9073567587718578,\n",
       " 2.6878639994814955,\n",
       " 1.9237037569575628,\n",
       " 3.3499856738202616,\n",
       " 2.7060961664490222,\n",
       " 2.0666124060761559,\n",
       " 3.7662084405353893,\n",
       " 50.305215829430303,\n",
       " 5.4685807265137685,\n",
       " 3.7086138534640098,\n",
       " 1.4483488036938259,\n",
       " 7.1327752419114994,\n",
       " 0.87516263232672897,\n",
       " 2.3836941789899146,\n",
       " 0.8136700861352324,\n",
       " 1.3030216443128613,\n",
       " 0.8322413856951506,\n",
       " 3.5300857798046148,\n",
       " 1.8656735347030518,\n",
       " 2.6913742328152406,\n",
       " 0.31387230942420385,\n",
       " 0.30973705222222869,\n",
       " 0.4302099522047762,\n",
       " 0.85415076254776612,\n",
       " 0.17700884709455461,\n",
       " 0.35559398518210983,\n",
       " 0.59712496301664952,\n",
       " 1.496592072083649,\n",
       " 0.24621983608265074,\n",
       " 0.43038742818888887,\n",
       " 0.086826806419915456,\n",
       " 0.045647400148162751,\n",
       " 0.21029399656342113,\n",
       " 1201.9578249593617,\n",
       " 86.882938492142443,\n",
       " 19.223454651738933,\n",
       " 25.565714138828522,\n",
       " 5.9343702291175315,\n",
       " 5.4899912391923946,\n",
       " 8.4396730768861623,\n",
       " 15.990251539056429,\n",
       " 7.6240011206820064,\n",
       " 1.5224493121852121,\n",
       " ...]"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "qs_save"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'kg / s'"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "hydrotrend.var_units(\"channel_exit_water_sediment~suspended__mass_flow_rate\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
